package com.itgaoshu.hospitalproject.service;

import com.itgaoshu.hospitalproject.bean.Ban;
import com.itgaoshu.hospitalproject.bean.Paiban;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface PaibanService {
    //查询排班
    List<Paiban> findAllPaiban(String doctorName);
    //查询所有的ban
    List<Ban> findAllBan();
    //修改排班
     int editPaiban(Paiban paiban);
    //添加排班的方法
    int addPaiBan(Paiban paiban);
    //删除排班的方法
    int delete(int doctorId);
    //查找id
    int count(int id);
}
